package com.transaction.simulate.service;

import com.transaction.common.base.User;
import com.transaction.simulate.model.dto.Menu;
import com.transaction.simulate.model.dto.Role;
import com.transaction.simulate.model.vo.MenuVo;

import java.util.List;

public interface UserService {

    User getUserByAccountName(String accountName);

    MenuVo getUserMenu(MenuVo menuVo);

    List<Menu> buildMenus(List<Menu> menuList);

    String addUser(User user);

    List<Role> getRoles();

}
